home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1987 / Oct 87 / Custom Scroll Bars 10⁄30 < prev    next >
Encoding:
Text File  |  1991-03-06  |  666 b   |  25 lines  |  [TEXT/GEOL]

  1. Item    0162483                         30-Oct-87        05:06
  2.  
  3. From:   D0469                           Argii Design Group, Dev, M Demeyer
  4.  
  5. To:     D0542                           Productive Tech, Dev, Mark Gilford
  6.  
  7. cc:     MACAPP$                         MacApp Interest List
  8.  
  9. Sub:    Custom Scroll Bars
  10.  
  11. Mark,
  12.  
  13. To make the scroll bar move in "chunks", I think I would override
  14. PROCEDURE TFrame.ScrollBy(delta: Point; invalWholeFrame: BOOLEAN)
  15. so that it will do the following:
  16.  
  17. 1.  Recalculate the parameter "delta" to constrain the position of the scroll
  18. position.
  19. 2.  Call "Inherited ScrollBy" withe the recalculated "delta".
  20.  
  21. Anh
  22. Argii Design Group
  23.  
  24.  
  25.